<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>智慧燃气</title>
</head>

<body>
  <div id="app"></div>
  <script type="module" src="/src/main.js"></script>
</body>
<script>
  (function () {

    document.addEventListener('DOMContentLoaded', function () {

      var deviceWidth = document.documentElement.clientWidth;

      document.documentElement.style.fontSize = deviceWidth / 23 + 'px';

    }, false);

    window.onresize = function () {

      var deviceWidth = document.documentElement.clientWidth;

      document.documentElement.style.fontSize = deviceWidth / 23 + 'px';

    };

  })()


</script>
</html>